<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
	String basePath = request.getContextPath();
	String path = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+basePath+"/";
	request.setAttribute("path",path);
%>
<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
	<meta name="format-detection" content="telephone=no,address=no,email=no"/>
	<meta name="keywords" content="" />
	<meta name="description" content="" />
	<title>个人中心</title>
	<script type="text/javascript" src="${path}/mobileTerminal/js/jquery.js"></script>
	<script type="text/javascript" src="${path}/js/jquery-2.1.1.min.js"></script>
	<link href="${path}/mobileTerminal/css/style.css" rel="stylesheet" media="all">
	<link rel="shortcut icon" href="${path}/mobileTerminal/img/favicon.png">
</head>
<script>
	function signOut() {
		document.getElementById("form2").submit();
    }
</script>
<body class="hu_shopping">
	<header>
		<div class="headerwrap">
			<div class="header_wrap">
				<a href="javascript:history.go(-1);" class="return_last">返回</a>
				<h1>个人中心</h1>
			</div>
		</div>
	</header><!-- header -->
	<div class="content_wrap" id="personal_wrap">
		<form id="form1" name="form1" method="post" action="">
		<div class="personal_on">
			<div class="personal_top">
				<a class="personal_link" href="#">
					<img class="personal_img" src="${path}/mobileTerminal/img/order_img_10.jpg">
				</a>
				<p><a href="#"><span class="personal_tl">疯子不是疯</span></a></p>
			</div><!-- personal_top -->
			
			<div class="personal_oca">
				<p class="personal_order"><a href="${path}/orderLists?userId=${user.id}"><i class="ocaicon"></i><span class="personal_tl">我的订单</span></a></p>
				<p class="personal_coll"><a href="${path}/myCollection?userId=${user.id}"><i class="ocaicon"></i><span class="personal_tl">我的收藏</span></a></p>
				<p class="personal_add"><a href="${path}/addressList?userId=${user.id}"><i class="ocaicon"></i><span class="personal_tl">收货地址</span></a></p>
				<div class="clear"></div>
			</div><!-- personal_oca -->
			
			<div class="sign_out">
				<input class="signout_btn btn" id="signout_btn" type="button" onclick="signOut()" value="退出登录">
			</div><!-- sign_out -->
			
		</div><!-- personal_on -->
		</form>
		<form id="form2" name="form2" method="post" action="${path}/signOut">

		</form>
	</div><!-- content_wrap -->

	<div class="footer_copyright">
		<p>苏州知行合一网络科技有限公司提供技术支持</p>
	</div><!-- footer_copyright -->
</body>
</html>